#ifndef _YELLOW_BIRD_2_H
#define _YELLOW_BIRD_2_H

#include "TexturedEntity.h"

class YellowBird2 : public TexturedEntity
{
public:
    YellowBird2(void);
    YellowBird2(boost::shared_ptr<Scene> scene);
    virtual ~YellowBird2(void);

private:
    static const float MIN_TIME;
    static const float MAX_TIME;
    
    bool m_exploding;
    float m_speedTime;
    float m_elapsedTime;
    float m_Vx;

    void onPrepare(float dT);
    bool onInitialize();
    void onDestroy(void);
    void attachSpeedUpAnimation(void);
    void attachExplosionAnimation(void);

};

#endif
